package datastructure;

/**
 * Author: Jason Wu
 * Date  : 2013-12-02
 */
public class BlockingQueueMain {
    public static void main(String[] args) throws InterruptedException {
        BlockingQueue blockingQueue = new BlockingQueue(5);
        new Thread(new EnqueueThread(blockingQueue)).start();
        new Thread(new DequeueThread(blockingQueue)).start();
    }
}
